package zunyi05;

public class Test {
    public static void main(String[] args) {
    /*    //父类有参的赋值
        Person person = new Person("张三",23);
        //父类无参的赋值
        *//*person.setName("张三");
        person.setAge(23);*//*

        //子类的有参赋值
        Student student = new Student("张三",23,"男");
        student.showInfo();*/

        //第四题测试
        Figrue figrue = new Figrue(3,4,5);

        Rectangle rectangle = new Rectangle(3,4);
        figrue.count();
        rectangle.count();
    }
}
